Star catalogue analysis

Thanks to UCF Physics undergrad Tyler Townsend for contributing to the development of this notebook.


In [ ]:
# Import modules that contain functions we need
import pandas as pd
import numpy as np
%matplotlib inline
import matplotlib.pyplot as plt

Getting the data


In [ ]:
# Read in data that will be used for the calculations.
# Using pandas read_csv method, we can create a data frame
data = pd.read_csv("https://github.com/adamlamee/CODINGinK12-data/raw/master/stars.csv")

In [ ]:
# We wish too look at the first 5 rows of our data set
data.head(5)

Star map


In [ ]:
fig = plt.figure(figsize=(15, 4))
plt.scatter(data.ra,data.dec, s=0.01)
plt.xlim(24, 0)
plt.title("All the Stars in the Catalogue")
plt.xlabel('right ascension')
plt.ylabel('declination')

Does hotter mean brighter?


In [ ]:

References